package com.tenement.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.tenement.entity.Dept;
import com.tenement.vo.QueryVo;

import java.util.List;

/**
 *  服务层。
 *
 * @author BertXie
 * @since 1.0.1
 */
public interface DeptService extends IService<Dept> {
   List<Dept> treeNode();

   Page<Dept> list(QueryVo queryVo);


   int operator(Dept dept);

   int delete(Long id);
}
